package com.tanqing.ddd.web.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("\"user\"")
public class User {
    @TableId("\"id\"")
    private Long id;
    @TableField("\"name\"")
    private String name;

    private Integer age;
    private String email;
}
